<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>TrabalhodeSistemasOperacionais: Referência da Classe TratadorDeRequisicao</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Gerado por Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">TrabalhodeSistemasOperacionais&#160;<span id="projectnumber">1.0</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Página&#160;Principal</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Arquivos</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Lista&#160;de&#160;Componentes</span></a></li>
      <li><a href="classes.html"><span>Índice&#160;dos&#160;Componentes</span></a></li>
      <li><a href="functions.html"><span>Componentes&#160;Membros</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-slots">Slots Públicos</a> &#124;
<a href="#pub-methods">Métodos Públicos</a> &#124;
<a href="#pub-attribs">Atributos Públicos</a>  </div>
  <div class="headertitle">
<h1>Referência da Classe TratadorDeRequisicao</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="TratadorDeRequisicao" -->
<p><code>#include &lt;<a class="el" href="tratadorderequisicao_8h_source.html">tratadorderequisicao.h</a>&gt;</code></p>

<p><a href="classTratadorDeRequisicao-members.html">Lista de todos os Membros.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-slots"></a>
Slots Públicos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTratadorDeRequisicao.html#af1cb51fef7338cda16f7a831c751aa12">novocliente</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Métodos Públicos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTratadorDeRequisicao.html#a000170aa353847ffee579f323db522a1">TratadorDeRequisicao</a> (QObject *parent=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTratadorDeRequisicao.html#ae01a1a1c569fc9e74045b2911bf3485d">~TratadorDeRequisicao</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTratadorDeRequisicao.html#a1f902b14eadf95d0ac7d91bb63b11440">iniciaServer</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTratadorDeRequisicao.html#afe51ae734ade84bd648d01b33c14dc9d">saldo</a> (QString contaAgencia)</td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Atributos Públicos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QTcpServer *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTratadorDeRequisicao.html#a950775eff26076a54d7179c6997dca40">servidor</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QTcpSocket *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTratadorDeRequisicao.html#ae4cd5c236829da82a6ca2fbb177d2964">clientConnection</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QFile *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTratadorDeRequisicao.html#a85d9bc994d2e50cf50625dcb57b29012">arquivoAgencia</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QFile *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTratadorDeRequisicao.html#aea49292045b894c7ad99020ade4e23df">arquivoPorta</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QFile *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTratadorDeRequisicao.html#a28db289edc892477106385bee65ed8b9">arquivoClientes</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QFile *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTratadorDeRequisicao.html#ae5eda42b3a92bc297c9fbb2b5c69e745">arquivoLog</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QTextStream *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTratadorDeRequisicao.html#a99b1cece9caf64f76e0fc56086fd27aa">agenciaStream</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QTextStream *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTratadorDeRequisicao.html#afbc60297c2e5e56b2e979eb233030c2e">portaStream</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QTextStream *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTratadorDeRequisicao.html#a4947c9c940e1c8e403b22aafb15b78ef">clientesStream</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QTextStream *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTratadorDeRequisicao.html#a7409c79bab4fc1a4e4d9ad2947419269">logStream</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QStringList&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTratadorDeRequisicao.html#a11f9ccc2232863882c44b850557d7f93">contaAgenciaSeparadas</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTratadorDeRequisicao.html#af89f6db4f4d467957cb4a2f2ca6b887b">numeroPorta</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTratadorDeRequisicao.html#a9a13c618363bf1b72a4d9a1ce3613c17">idAgencia</a></td></tr>
</table>
<hr/><h2>Construtores &amp; Destrutores</h2>
<a class="anchor" id="a000170aa353847ffee579f323db522a1"></a><!-- doxytag: member="TratadorDeRequisicao::TratadorDeRequisicao" ref="a000170aa353847ffee579f323db522a1" args="(QObject *parent=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TratadorDeRequisicao::TratadorDeRequisicao </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ae01a1a1c569fc9e74045b2911bf3485d"></a><!-- doxytag: member="TratadorDeRequisicao::~TratadorDeRequisicao" ref="ae01a1a1c569fc9e74045b2911bf3485d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TratadorDeRequisicao::~TratadorDeRequisicao </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>destrutor que é utilizado pra fechar os arquivos </p>

</div>
</div>
<hr/><h2>Métodos</h2>
<a class="anchor" id="a1f902b14eadf95d0ac7d91bb63b11440"></a><!-- doxytag: member="TratadorDeRequisicao::iniciaServer" ref="a1f902b14eadf95d0ac7d91bb63b11440" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TratadorDeRequisicao::iniciaServer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>metodo que faz o servidor começar a escutar a porta por conexões </p>

</div>
</div>
<a class="anchor" id="af1cb51fef7338cda16f7a831c751aa12"></a><!-- doxytag: member="TratadorDeRequisicao::novocliente" ref="af1cb51fef7338cda16f7a831c751aa12" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TratadorDeRequisicao::novocliente </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="afe51ae734ade84bd648d01b33c14dc9d"></a><!-- doxytag: member="TratadorDeRequisicao::saldo" ref="afe51ae734ade84bd648d01b33c14dc9d" args="(QString contaAgencia)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString TratadorDeRequisicao::saldo </td>
          <td>(</td>
          <td class="paramtype">QString&#160;</td>
          <td class="paramname"><em>contaAgencia</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>método que retorna o saldo de uma conta se passada uma string contendo conta e agência , se for passado um valor único de saldo , a função atualiza o saldo da conta que efetuou a última transação </p>

</div>
</div>
<hr/><h2>Atributos</h2>
<a class="anchor" id="a99b1cece9caf64f76e0fc56086fd27aa"></a><!-- doxytag: member="TratadorDeRequisicao::agenciaStream" ref="a99b1cece9caf64f76e0fc56086fd27aa" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QTextStream* <a class="el" href="classTratadorDeRequisicao.html#a99b1cece9caf64f76e0fc56086fd27aa">TratadorDeRequisicao::agenciaStream</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a85d9bc994d2e50cf50625dcb57b29012"></a><!-- doxytag: member="TratadorDeRequisicao::arquivoAgencia" ref="a85d9bc994d2e50cf50625dcb57b29012" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QFile* <a class="el" href="classTratadorDeRequisicao.html#a85d9bc994d2e50cf50625dcb57b29012">TratadorDeRequisicao::arquivoAgencia</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a28db289edc892477106385bee65ed8b9"></a><!-- doxytag: member="TratadorDeRequisicao::arquivoClientes" ref="a28db289edc892477106385bee65ed8b9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QFile* <a class="el" href="classTratadorDeRequisicao.html#a28db289edc892477106385bee65ed8b9">TratadorDeRequisicao::arquivoClientes</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ae5eda42b3a92bc297c9fbb2b5c69e745"></a><!-- doxytag: member="TratadorDeRequisicao::arquivoLog" ref="ae5eda42b3a92bc297c9fbb2b5c69e745" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QFile* <a class="el" href="classTratadorDeRequisicao.html#ae5eda42b3a92bc297c9fbb2b5c69e745">TratadorDeRequisicao::arquivoLog</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aea49292045b894c7ad99020ade4e23df"></a><!-- doxytag: member="TratadorDeRequisicao::arquivoPorta" ref="aea49292045b894c7ad99020ade4e23df" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QFile* <a class="el" href="classTratadorDeRequisicao.html#aea49292045b894c7ad99020ade4e23df">TratadorDeRequisicao::arquivoPorta</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ae4cd5c236829da82a6ca2fbb177d2964"></a><!-- doxytag: member="TratadorDeRequisicao::clientConnection" ref="ae4cd5c236829da82a6ca2fbb177d2964" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QTcpSocket* <a class="el" href="classTratadorDeRequisicao.html#ae4cd5c236829da82a6ca2fbb177d2964">TratadorDeRequisicao::clientConnection</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a4947c9c940e1c8e403b22aafb15b78ef"></a><!-- doxytag: member="TratadorDeRequisicao::clientesStream" ref="a4947c9c940e1c8e403b22aafb15b78ef" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QTextStream* <a class="el" href="classTratadorDeRequisicao.html#a4947c9c940e1c8e403b22aafb15b78ef">TratadorDeRequisicao::clientesStream</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a11f9ccc2232863882c44b850557d7f93"></a><!-- doxytag: member="TratadorDeRequisicao::contaAgenciaSeparadas" ref="a11f9ccc2232863882c44b850557d7f93" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QStringList <a class="el" href="classTratadorDeRequisicao.html#a11f9ccc2232863882c44b850557d7f93">TratadorDeRequisicao::contaAgenciaSeparadas</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>usado para preparar a mensagem que vai ser enviada ao servidor </p>

</div>
</div>
<a class="anchor" id="a9a13c618363bf1b72a4d9a1ce3613c17"></a><!-- doxytag: member="TratadorDeRequisicao::idAgencia" ref="a9a13c618363bf1b72a4d9a1ce3613c17" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString <a class="el" href="classTratadorDeRequisicao.html#a9a13c618363bf1b72a4d9a1ce3613c17">TratadorDeRequisicao::idAgencia</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a7409c79bab4fc1a4e4d9ad2947419269"></a><!-- doxytag: member="TratadorDeRequisicao::logStream" ref="a7409c79bab4fc1a4e4d9ad2947419269" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QTextStream* <a class="el" href="classTratadorDeRequisicao.html#a7409c79bab4fc1a4e4d9ad2947419269">TratadorDeRequisicao::logStream</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="af89f6db4f4d467957cb4a2f2ca6b887b"></a><!-- doxytag: member="TratadorDeRequisicao::numeroPorta" ref="af89f6db4f4d467957cb4a2f2ca6b887b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString <a class="el" href="classTratadorDeRequisicao.html#af89f6db4f4d467957cb4a2f2ca6b887b">TratadorDeRequisicao::numeroPorta</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="afbc60297c2e5e56b2e979eb233030c2e"></a><!-- doxytag: member="TratadorDeRequisicao::portaStream" ref="afbc60297c2e5e56b2e979eb233030c2e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QTextStream* <a class="el" href="classTratadorDeRequisicao.html#afbc60297c2e5e56b2e979eb233030c2e">TratadorDeRequisicao::portaStream</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a950775eff26076a54d7179c6997dca40"></a><!-- doxytag: member="TratadorDeRequisicao::servidor" ref="a950775eff26076a54d7179c6997dca40" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QTcpServer* <a class="el" href="classTratadorDeRequisicao.html#a950775eff26076a54d7179c6997dca40">TratadorDeRequisicao::servidor</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>A documentação para esta classe foi gerada a partir dos seguintes arquivos:<ul>
<li><a class="el" href="tratadorderequisicao_8h_source.html">tratadorderequisicao.h</a></li>
<li><a class="el" href="tratadorderequisicao_8cpp.html">tratadorderequisicao.cpp</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Gerado em Terça, 6 de Dezembro de 2011 01:12:43 para TrabalhodeSistemasOperacionais por&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>
